package com.uplift.mobile.rate.dao;

import com.uplift.mobile.info.model.Info;
import com.uplift.mobile.rate.model.Rate;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface RateMapper {
	/**
	 * 查询资讯
	 * @param rate
	 * @return List<Map<String, Object>>
	 */
	public List<Map<String, Object>> selectInfo(Rate rate);

	public int insertRate(Rate rate);

	public int updateRate(Rate rate);

	public Map<String, Object> getOne(Rate rate);
}
